﻿@model yq.Search.Team.TeamListSeek
           

@Url.Css("Css/metro/css/list.css")
@Url.Script("Scripts/metro/list.js")
<div id="container" class="container">
    @Html.Action("Navigation", "Home")
           @Html.Action("RowLeft", "PublicReuse", new { Area = "Home" })
    <div id="container_r" class="container_right">
        @Html.Action("HeadTitle", "PublicReuse", new { Area = "Home" })
 
        <div class="icodiv">
            @Html.Button("Search", new { onclick = "return $.SearchDialog('DoSearch','form0')" })

            @Html.Button("添加团队", new { @class = "btn btn-warning", onclick = "window.location = '" + (Url.Action("AddTeam")) + "'" })
            
        </div>
        @using (Ajax.BeginForm("List", new { }, new AjaxOptions { UpdateTargetId = "updateid" }, new { @class = "form-horizontal", novalidate = "novalidate" }))
        { 
            <div id="DoSearch" style="display: none">
                <table class="table table-condensed">
                    <tbody>
                        <tr>
                            <td>
                                 @(Html.RawFor(obj => obj.Team))
                            </td>
                            <td>
                                @Html.TextBoxFor(obj => obj.Team)
                            </td>
                        </tr>
                       
                    </tbody>
                </table>
            </div>
            
            <div id="updateid">
                @Html.Action("List", "Team", new { search = Model })
            </div>
                 
        }
    </div>
</div>
